package mybatis;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptDao {
    public int update(Dept dept);

    public List<Dept> findBypage(@Param("pageSize") int pageSize,
                                 @Param("currentPage") int currentPage);
}
